package com.netcracker.studportal.server.main_test;

import org.json.simple.JSONObject;
import com.netcracker.studportal.server.facade.FacadeAdmin;

public class MainFacadeAdminFaculty {
	public static void main(String args[]){
		FacadeAdmin fa= new  FacadeAdmin();
	
		try{
		
		JSONObject obj = new JSONObject();
		obj.put("faculty_id", "1");	
		obj.put("faculty_name", "a");	
		obj.put("univ_id", "1");	
	
		String str=fa.updateFieldFaculty(obj.toString());
	//	String str=fa.addNewFaculty(obj.toString());
	//	String str=fa.deleteFieldFaculty(obj.toString());
		System.out.println("str "+str);
		
				
	//	String all_faculty=fa.getAllFaculty();		
	//	System.out.println(all_faculty);
		} catch (Exception e) {
			e.printStackTrace();
		}
	}
}
